#pragma once

#include <maya/MPxDeformerNode.h>

class customSkinDeformer: public MPxDeformerNode
{
public:
	customSkinDeformer();
	virtual ~customSkinDeformer();

	static void* creator();
	static MStatus initialize();

	virtual MStatus deform(MDataBlock& block, MItGeometry& iter, const MMatrix& mat, unsigned int multiIndex) override;

public:
	static MTypeId id;
	static MString nodeName;

	static MObject preBindGeomMatrix;
	static MObject preBindMatrices;
	static MObject influenceMatrices;
	static MObject affetcOutputGeomAttr;
};
